
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%-- 
    Document   : BuscarInmueble
    Created on : 21/06/2010, 10:42:49 PM
    Author     : jtovar00
--%>
<table width="756" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="756" height="160">
                <param name="movie" value="swf/banner_int.swf" />
                <param name="quality" value="high" />
                <embed src="swf/banner_int.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="756" height="160"></embed>
            </object>
        </td>
    </tr>
    <tr>
        <td><img src="images/linea.jpg" width="756" height="3" /></td>
    </tr>
    <tr>
        <td >&nbsp;</td>
    </tr>
    <tr>
        <td width="756" class="titulo_azul">Buscador de Inmuebles </td>
    </tr>
    <tr>
        <td >&nbsp;</td>
    </tr>
    <tr>
        <td ><img src="images/linea.jpg" width="756" height="3" /></td>
    </tr>
    <tr>
        <td height="10"></td>
    </tr>
    <tr>
        <td height="10">
            <form action ="BuscarInmueble.jsp" method="post">
                <div class="distrito">
                    Distrito :
                    <form:select path="distritos">
                        <form:options items="${distritos}" itemValue="codigo" itemLabel="nombre" ></form:options>
                    </form:select>
                    <input name="Submit" type="submit" class="texto_azul" value="Enviar" />
                </div>
                Tipo : 
                <select name="tipo" class="combo_texto">
                    <option value ="D">Departamento</option>
                    <option value ="C">Casa</option>
                </select>
                <input name="Submit" type="submit" class="texto_azul" value="Enviar" />
            </form>
        </td>
    </tr>

    <tr>
        <td colspan="2" >
            <c:forEach items="${inmuebles}" var="inmueble">
                <div class="inmueble">
                    <h3 class="titulo_azul"><c:out value="${inmueble.distrito}" /></h3>
                    <p>
                        <strong><c:out value="${inmueble.nombre}" /></strong><br />
                        <c:out value="${inmueble.resenia}" />
                        <c:out value="${inmueble.direccion}" />
                    </p>
                    <a href=" proyectos_detalle.jsp?cod=${inmueble.codigo}" class="link_texto_azul" ">
                       <img class="double-border" src="<c:url value="${inmueble.foto}"/>" />
                    </a>
                    <a href="proyectos_detalle.jsp?cod=${inmueble.codigo}" class="link_texto_azul">Ver Detalle</a>
                </div>
            </c:forEach>
        </td>
    </tr>

</table>